package edu.zut2.extends_demo;

public class Test2 {

    public static void main(String[] args) {
        People people = new People("jack",20,"男","20212212");
        people.say();
        people = new Teacher("张老师",50,"女","1546478",20,"计算机");
        people.say();
        people = new Student();
        people.say();
    }

}
